<template>
  <div>
    <div class="w-[520px] p-4 flex flex-wrap">
      <BaseTitle title="医保费用结算明细" class="!w-full" />
      <a-divider class="!m-1" />
      <LabelValue label="医保交易费用总额" class="!w-1/2" :value="'￥' + formatAmount(data.totalexpense)" />
      <LabelValue label="医保结算范围费用总额" class="!w-1/2" :value="'￥' + formatAmount(data.ybjsfwfyze)" />
      <LabelValue label="非医保结算范围个人自付" class="!w-1/2" :value="'￥' + formatAmount(data.fybjsfwfyze)" />
      <LabelValue label="减负金额" class="!w-1/2" :value="'￥' + formatAmount(data.jfje)" />
      <LabelValue label="当年账户支付数" class="!w-1/2" :value="'￥' + formatAmount(data.curaccountpay)" />
      <LabelValue label="历年账户支付数" class="!w-1/2" :value="'￥' + formatAmount(data.hisaccountpay)" />
      <LabelValue label="自负段现金支付数" class="!w-1/2" :value="'￥' + formatAmount(data.zfdxjzfs)" />
      <!-- <LabelValue label="起负段现金支付数" class="!w-1/2" :value="'￥' + formatAmount(data.maf_pay)" /> -->
      <!-- <LabelValue label="起负段账户支付数" class="!w-1/2" :value="'￥' + formatAmount(data.psn_part_amt)" /> -->
      <LabelValue label="统筹段现金支付数" class="!w-1/2" :value="'￥' + formatAmount(data.tcdxjzfs)" />
      <LabelValue label="统筹段账户支付数" class="!w-1/2" :value="'￥' + formatAmount(data.tcdzhzfs)" />
      <LabelValue label="统筹支付数" class="!w-1/2" :value="'￥' + formatAmount(data.tczfs)" />
      <LabelValue label="附加段现金支付数" class="!w-1/2" :value="'￥' + formatAmount(data.fjdxjzfs)" />
      <LabelValue label="附加段账户支付数" class="!w-1/2" :value="'￥' + formatAmount(data.fjdzhzfs)" />
      <LabelValue label="地方附加支付数" class="!w-1/2" :value="'￥' + formatAmount(data.fjzfs)" />
      <!-- <LabelValue label="起付段共济账户支付数" class="!w-1/2" :value="'￥' + formatAmount(data.fund_pay_sumamt)" /> -->
      <LabelValue label="附加段共济账户支付数" class="!w-1/2" :value="'￥' + formatAmount(data.fjdgjzhzfs)" />
      <LabelValue label="统筹段共济账户支付数" class="!w-1/2" :value="'￥' + formatAmount(data.tcdgjzhzfs)" />
      <LabelValue label="自负段共济账户支付数" class="!w-1/2" :value="'￥' + formatAmount(data.zfdgjzhzfs)" />
      <LabelValue label="共济账户支付数" class="!w-1/2" :value="'￥' + formatAmount(data.gjzhzfs)" />
      <LabelValue label="当年账户余额" class="!w-1/2" :value="'￥' + formatAmount(data.curaccountamt)" />
      <LabelValue label="历年账户余额" class="!w-1/2" :value="'￥' + formatAmount(data.hisaccountamt)" />
    </div>
  </div>
</template>
<script setup>
import { formatAmount } from '@/utils/format.js'

defineProps({
  data: {
    type: Object,
    default: () => ({})
  }
})
</script>
